﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Website/Views/Shared/Product.Master"Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <hr style="border: none; margin-top: 0px; padding-top: 0px; border-bottom: 4px solid #A7CBFF;" />
    <div class="lc carlogin">
        <div class="inner">
            <form method="post" action="" id="miniLoginFrm">
            <table>
                <tr>
                    <td class="width120" style="text-align: right;">
                        用户名称
                    </td>
                    <td>
                        <input type="text" tabindex="1" name="uname" class="width150" />
                    </td>
                </tr>
                <tr>
                    <td style="text-align: right;">
                        用户密码
                    </td>
                    <td>
                        <input tabindex="2" type="password" name="password" class="width150" />
                    </td>
                </tr>
                <tr>
                    <td style="text-align: right;">
                        验&nbsp;证&nbsp;码
                    </td>
                    <td>
                        <input type="text" tabindex="3" name="varifyCode" class="width50" />
                        <img src="<%=Url.Action("RandImage") %>" title="单击刷新验证码" alt="验证码" onclick="this.src='<%=Url.Action("RandImage") %>?'+ Math.random();" />
                    </td>
                </tr>
                <tr>
                    <td style="text-align: right;">
                        密码保存
                    </td>
                    <td>
                        <select name="timeout">
                            <option value="0">不保存</option>
                            <option value="40">40分钟</option>
                            <option value="1440">24小时</option>
                            <option value="526000">永远保存</option>
                        </select>
                    </td>
                </tr>
            </table>
            <div class="textCenter" style="margin: 5px;">
                <input type="submit" value="登录" tabindex="4" style="width: 120px;" />
                <br />
                <br />
                <br />
                <hr style="border: none; border-bottom: 3px double #ECECEC; width: 80%;" />
                <%= Html.ActionLink("新用户注册","Register","Home") %>
                |
                <%= Html.ActionLink("密码找回","ForgetPassword","Home") %>
            </div>
            </form>
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
    <%=HtmlMetaHelper.HtmlTitle(ViewsResources.Shared.Login)%>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cssLink" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="jsLink" runat="server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="cssContent" runat="server">
    <style type="text/css">
        .lc
        {
            margin: 50px auto;
            width: 450px;
            background-color: #fff;
            border: solid 1px #CACACA;
        }
        .lc div.inner
        {
            margin: 1px;
            padding-left: 100px;
            padding-top: 15px;
            border: solid 2px #F5F5F5;
        }
        .lc table
        {
            border-collapse: collapse;
            width: 100%;
        }
        .lc table td
        {
            overflow: hidden;
            padding: 5px;
            vertical-align: middle;
            text-align: left;
        }
    </style>
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="jsContent" runat="server">
</asp:Content>
